Action hook '{$taxonomy}_term_edit_form_top'
in WP Core File wp-admin/edit-tag-form.php at line 136
Description
Fires at the beginning of the Edit Term form. At this point, the required hidden fields and nonces have already been output. The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug. Possible hook names include: - `category_term_edit_form_top` - `post_tag_term_edit_form_top`
Occurrences
Filename |
Line Number |
wp-admin/edit-tag-form.php |
136 |
Parameters
Type |
Name |
Description |
WP_Term |
$tag |
Current taxonomy term object. |
string |
$taxonomy |
Current $taxonomy slug. |
PHP Doc
/**
* Fires at the beginning of the Edit Term form.
*
* At this point, the required hidden fields and nonces have already been output.
*
* The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug.
*
* Possible hook names include:
*
* - `category_term_edit_form_top`
* - `post_tag_term_edit_form_top`
*
* @since 4.5.0
*
* @param WP_Term $tag Current taxonomy term object.
* @param string $taxonomy Current $taxonomy slug.
*/